{% layout="front_layout.html" %}
{-jsorcss-}
<link rel="stylesheet" href="/static/ckeditor/plugins/codesnippet/lib/highlight/styles/default.css">
<script language="JavaScript" src="/static/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js"></script>
<style type="text/css">
    .form-signin {
        max-width: 100%;
        padding: 10px 20px 20px;
        background-color: #fff;
        border: 1px solid #e5e5e5;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
        -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
        box-shadow: 0 1px 2px rgba(0,0,0,.05);
    }
    .form-signin .form-signin-heading,
    .form-signin input[type="text"]{
        width:300px;
        font-size: 16px;
        height: auto;
        margin-bottom: 15px;
        padding: 7px 9px;
    }
    .form-signin textarea{
        font-size: 16px;
        height: auto;
        margin-top: 15px;
        padding: 7px 9px;
    }
    #commentList{
        font-size: 14px;
    }
    #commentList p{
        margin: 0 0 2px;
    }
</style>
{-jsorcss-}

{-sidebar-}
{*helper:run('/internal/tags',{['tag_id']=tag_id})*}
{-sidebar-}
{-title-}
<div class="hero-unit">
    <h3>{{article['title']}}<small>[{{article['updated_at']}}]</small></h3>      
    <hr>
    <p>{*article['content']*}</p>
    {#
    @if($userSession)
    <form name="sdfsdf" action="{{url('user/articles-destroy')}}" method="post" class="form-inline">
    <a class="btn" href="{{url('user/articles-edit',['id'=>$article->id])}}">Edit</a>
     <input type="hidden" name="id" value="{{$article->id}}">
    <input type="submit" class="btn btn-default" value="删除"/>
    </form>
    @endif
    #}
    {*helper:no_cache('internal/comment',article,{page=page})*}
</div>
<script language="JavaScript">
    <!--
    hljs.initHighlightingOnLoad();
    //-->
</script>
{-title-}